﻿<?php
	$directory = opendir('../XML');
	$not_directory = array('.','..');
	
	echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
	echo "<files>\n";
	
	while ($file = readdir($directory))
	{
		if (in_array($file, $not_directory))
		{
			continue;
		}
		echo '<file name="' . ($file) . '"/>';
	}
	
	echo "</files>\n";
?>